package com.tuozixuan.jol;

import java.util.HashMap;
import java.util.Map;

import org.openjdk.jol.info.ClassLayout;

public class MapObject {

	public static void main(String[] args) {
		System.out.println(ClassLayout.parseClass(Map.class).toPrintable());
		Map<String, String> map = new HashMap<>();
		map.put("name", "111");
		map.put("name1", "222");
		System.out.println(ClassLayout.parseInstance(map).toPrintable());
	}

}
